package com.letao.pojo;


import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import org.apache.struts2.json.annotations.JSON;
/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer uid;
	private String ualais;
	private String uimage;
	private String uemail;
	private String upassword;
	private String uname;
	private String ucollege;
	private Date udate;
	private String uschool;
	private String umajor;
	private String utel;
	private String uqq;
	private Date ubirth;
	private String usex;
	private String uaddress;
	private String uintro;
	private Short uisAvailable;
	private Boolean upermission;
	private Set userexpands = new HashSet(0);
	private Set userFocusesForFoucusedUid = new HashSet(0);
	private Set userCollections = new HashSet(0);
	private Set userFocusesForUid = new HashSet(0);
	private Set evaluations = new HashSet(0);
	private Set transactions = new HashSet(0);
	private Set goodses = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String ualais, String uemail, String upassword) {
		this.ualais = ualais;
		this.uemail = uemail;
		this.upassword = upassword;
	}

	/** full constructor */
	public User(String ualais, String uimage, String uemail, String upassword,
			String uname, String ucollege, Date udate, String uschool,
			String umajor, String utel, String uqq, Date ubirth, String usex,
			String uaddress, String uintro, Short uisAvailable,
			Boolean upermission, Set userexpands,
			Set userFocusesForFoucusedUid, Set userCollections,
			Set userFocusesForUid, Set evaluations, Set transactions,
			Set goodses) {
		this.ualais = ualais;
		this.uimage = uimage;
		this.uemail = uemail;
		this.upassword = upassword;
		this.uname = uname;
		this.ucollege = ucollege;
		this.udate = udate;
		this.uschool = uschool;
		this.umajor = umajor;
		this.utel = utel;
		this.uqq = uqq;
		this.ubirth = ubirth;
		this.usex = usex;
		this.uaddress = uaddress;
		this.uintro = uintro;
		this.uisAvailable = uisAvailable;
		this.upermission = upermission;
		this.userexpands = userexpands;
		this.userFocusesForFoucusedUid = userFocusesForFoucusedUid;
		this.userCollections = userCollections;
		this.userFocusesForUid = userFocusesForUid;
		this.evaluations = evaluations;
		this.transactions = transactions;
		this.goodses = goodses;
	}

	// Property accessors

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUalais() {
		return this.ualais;
	}

	public void setUalais(String ualais) {
		this.ualais = ualais;
	}

	public String getUimage() {
		return this.uimage;
	}

	public void setUimage(String uimage) {
		this.uimage = uimage;
	}

	public String getUemail() {
		return this.uemail;
	}

	public void setUemail(String uemail) {
		this.uemail = uemail;
	}

	public String getUpassword() {
		return this.upassword;
	}

	public void setUpassword(String upassword) {
		this.upassword = upassword;
	}

	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUcollege() {
		return this.ucollege;
	}

	public void setUcollege(String ucollege) {
		this.ucollege = ucollege;
	}

	public Date getUdate() {
		return this.udate;
	}

	public void setUdate(Date udate) {
		this.udate = udate;
	}

	public String getUschool() {
		return this.uschool;
	}

	public void setUschool(String uschool) {
		this.uschool = uschool;
	}

	public String getUmajor() {
		return this.umajor;
	}

	public void setUmajor(String umajor) {
		this.umajor = umajor;
	}

	public String getUtel() {
		return this.utel;
	}

	public void setUtel(String utel) {
		this.utel = utel;
	}

	public String getUqq() {
		return this.uqq;
	}

	public void setUqq(String uqq) {
		this.uqq = uqq;
	}

	public Date getUbirth() {
		return this.ubirth;
	}

	public void setUbirth(Date ubirth) {
		this.ubirth = ubirth;
	}

	public String getUsex() {
		return this.usex;
	}

	public void setUsex(String usex) {
		this.usex = usex;
	}

	public String getUaddress() {
		return this.uaddress;
	}

	public void setUaddress(String uaddress) {
		this.uaddress = uaddress;
	}

	public String getUintro() {
		return this.uintro;
	}

	public void setUintro(String uintro) {
		this.uintro = uintro;
	}

	public Short getUisAvailable() {
		return this.uisAvailable;
	}

	public void setUisAvailable(Short uisAvailable) {
		this.uisAvailable = uisAvailable;
	}

	public Boolean getUpermission() {
		return this.upermission;
	}

	public void setUpermission(Boolean upermission) {
		this.upermission = upermission;
	}
	@JSON(serialize=false)
	public Set getUserexpands() {
		return this.userexpands;
	}

	public void setUserexpands(Set userexpands) {
		this.userexpands = userexpands;
	}
	@JSON(serialize=false)
	public Set getUserFocusesForFoucusedUid() {
		return this.userFocusesForFoucusedUid;
	}

	public void setUserFocusesForFoucusedUid(Set userFocusesForFoucusedUid) {
		this.userFocusesForFoucusedUid = userFocusesForFoucusedUid;
	}
	@JSON(serialize=false)
	public Set getUserCollections() {
		return this.userCollections;
	}

	public void setUserCollections(Set userCollections) {
		this.userCollections = userCollections;
	}
	@JSON(serialize=false)
	public Set getUserFocusesForUid() {
		return this.userFocusesForUid;
	}

	public void setUserFocusesForUid(Set userFocusesForUid) {
		this.userFocusesForUid = userFocusesForUid;
	}
	@JSON(serialize=false)
	public Set getEvaluations() {
		return this.evaluations;
	}

	public void setEvaluations(Set evaluations) {
		this.evaluations = evaluations;
	}
	@JSON(serialize=false)
	public Set getTransactions() {
		return this.transactions;
	}

	public void setTransactions(Set transactions) {
		this.transactions = transactions;
	}
	@JSON(serialize=false)
	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

}